<?php


namespace App\Http\Controllers;


use App\Models\SendOrder;
use Illuminate\Support\Facades\DB;
use function Symfony\Component\String\b;

class SendOrderController extends BaseController
{
    public function create()
    {
        $data = request()->all();

        $bool = SendOrder::query()->insert($data);

        if ($bool) {
            return $this->success();
        }

        return $this->error();
    }
}
